package com.lucky_books.controller;

import com.lucky_books.pojo.Users;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Controller
@RequestMapping("/user")
public class UserController {
    @RequestMapping("/login2")
    public String login2(String username, String password) {
        System.out.println("=============>>login2-------name:" + username + "-----password:" + password);
        return "index";
    }


}
